package com.jjiang.bbmall.product.dao;

import com.jjiang.bbmall.product.entity.AttrGroupEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jjiang.bbmall.product.vo.SkuItemVo;
import com.jjiang.bbmall.product.vo.SpuItemGroupAttrsVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 属性分组
 *
 * @author jingjiang
 * @email 1259029328@qq.com
 * @date 2022-11-01 14:06:17
 */
@Mapper
public interface AttrGroupDao extends BaseMapper<AttrGroupEntity> {

    List<SpuItemGroupAttrsVo> getAttrGroupWithAttrsBySpuId(@Param("catalogId") Long catalogId, @Param("spuId") Long spuId);
}
